//
var TN_Widget = function() {
return {
//Options
newWindow : true,
linkText : "view
tickets",
tixUrl : "http://www.ticketnetwork.com/tix/",
trackingParams : "",
custLink : true,
//depricated
kbid : "",
//Overwrittable functions
trackingLink :"",
CreateCustomUrl : function(row) {
return this.tixUrl + row[7] + "-tickets-"+ row[6] + ".aspx";
},
CreateEventRow : function(row, isAlt) {
return "
" +
row[0] +" | " +
row[1] +" " +
row[2] +" | " +
row[3] +" " +
row[4] + " " +
row[5] + " | "+ this.linkText+ " |
";
},
AddCss: function(cssUrl) {
var fileref=document.createElement("link");
fileref.setAttribute("rel", "stylesheet");
fileref.setAttribute("type", "text/css");
fileref.setAttribute("href", cssUrl);
document.getElementsByTagName("head")[0].appendChild(fileref);
},
CreateTable : function(eventData,kywrds,url) {
if(typeof(TN_SetWidgetOptions) == "function")
TN_SetWidgetOptions();
//for backwards compatability
if(this.kbid != "")
this.trackingParams = "?img=249&kbid="+this.kbid;
var newTable = [];
for(var cntr = 0; cntr < eventData.length; cntr++)
newTable.push(this.CreateEventRow(eventData[cntr], cntr % 2 == 1));
var objToAddTo;
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML = '' + newTable.join('') + '
';
} else
document.write('' + newTable.join('') + '
');
if(eventData.length >= 100 && kywrds != undefined) {
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML += '';
} else {
document.write("");
}
}
if(eventData.length > 0) {
document.getElementById("previewNote").style.display = "none";
}
}
};
}();
//BPW-TNSERV-02A
TN_Widget.CreateTable([['Mick Martin','Crest Theatre - Sacramento','Sacramento, CA','Friday','5/3/2024','8:00 PM','6300777','Mick-Martin-5-3-2024'],['Ali Siddiq','Crest Theatre - Sacramento','Sacramento, CA','Saturday','5/4/2024','7:00 PM','5979968','Ali-Siddiq-5-4-2024'],['Judy Collins','Crest Theatre - Sacramento','Sacramento, CA','Wednesday','5/15/2024','7:30 PM','6276982','Judy-Collins-5-15-2024'],['Nate Jackson','Crest Theatre - Sacramento','Sacramento, CA','Friday','5/17/2024','7:00 PM','6117418','Nate-Jackson-5-17-2024'],['Nate Jackson','Crest Theatre - Sacramento','Sacramento, CA','Friday','5/17/2024','9:30 PM','6312016','Nate-Jackson-5-17-2024'],['Leo Skepi','Crest Theatre - Sacramento','Sacramento, CA','Saturday','5/18/2024','8:00 PM','6319972','Leo-Skepi-5-18-2024'],['EMO Orchestra: Escape The Fate','Crest Theatre - Sacramento','Sacramento, CA','Wednesday','5/22/2024','8:00 PM','6231202','EMO-Orchestra--Escape-The-Fate-5-22-2024'],['Definitely Dead - Grateful Dead Tribute','Crest Theatre - Sacramento','Sacramento, CA','Saturday','5/25/2024','8:00 PM','6251060','Definitely-Dead---Grateful-Dead-Tribute-5-25-2024'],['The Wallflowers','Crest Theatre - Sacramento','Sacramento, CA','Sunday','5/26/2024','8:00 PM','6230513','The-Wallflowers-5-26-2024'],['Pink Floyd Laser Spectacular','Crest Theatre - Sacramento','Sacramento, CA','Friday','5/31/2024','8:00 PM','6244681','Pink-Floyd-Laser-Spectacular-5-31-2024'],['Felipe Esparza','Crest Theatre - Sacramento','Sacramento, CA','Saturday','6/1/2024','7:00 PM','6135699','Felipe-Esparza-6-1-2024'],['Felipe Esparza','Crest Theatre - Sacramento','Sacramento, CA','Saturday','6/1/2024','10:00 PM','6135700','Felipe-Esparza-6-1-2024'],['Kamasi Washington','Crest Theatre - Sacramento','Sacramento, CA','Wednesday','6/5/2024','8:30 PM','6306922','Kamasi-Washington-6-5-2024'],['Kathy Griffin','Crest Theatre - Sacramento','Sacramento, CA','Thursday','6/6/2024','8:00 PM','6083604','Kathy-Griffin-6-6-2024'],['Phil Rosenthal','Crest Theatre - Sacramento','Sacramento, CA','Friday','6/7/2024','7:00 PM','6265007','Phil-Rosenthal-6-7-2024'],['Justin Hayward','Crest Theatre - Sacramento','Sacramento, CA','Tuesday','6/18/2024','8:00 PM','6403889','Justin-Hayward-6-18-2024'],['Yesterday - A Tribute To The Beatles','Crest Theatre - Sacramento','Sacramento, CA','Saturday','6/22/2024','8:00 PM','6301002','Yesterday---A-Tribute-To-The-Beatles-6-22-2024'],['Cristela Alonzo','Crest Theatre - Sacramento','Sacramento, CA','Friday','7/12/2024','8:00 PM','6311871','Cristela-Alonzo-7-12-2024'],['Jessica Kirson','Crest Theatre - Sacramento','Sacramento, CA','Saturday','7/13/2024','8:00 PM','6346574','Jessica-Kirson-7-13-2024'],['Maxi Priest','Crest Theatre - Sacramento','Sacramento, CA','Wednesday','7/24/2024','8:00 PM','6408584','Maxi-Priest-7-24-2024'],['That Girl Lay Lay','Crest Theatre - Sacramento','Sacramento, CA','Sunday','8/4/2024','7:00 PM','6403996','That-Girl-Lay-Lay-8-4-2024'],['Comedy Bang! Bang!','Crest Theatre - Sacramento','Sacramento, CA','Wednesday','8/14/2024','7:30 PM','6372176','Comedy-Bang--Bang--8-14-2024'],['Tab Benoit & Anders Osborne','Crest Theatre - Sacramento','Sacramento, CA','Sunday','8/25/2024','7:30 PM','6337330','Tab-Benoit---Anders-Osborne-8-25-2024'],['I Could Be Wrong, I Could Be Right: An Intimate Evening with John Lydon (Johnny Rotten)','Crest Theatre - Sacramento','Sacramento, CA','Sunday','9/15/2024','7:30 PM','6298741','I-Could-Be-Wrong--I-Could-Be-Right--An-Intimate-Evening-with-John-Lydon--Johnny-Rotten--9-15-2024'],['Henry Cho','Crest Theatre - Sacramento','Sacramento, CA','Friday','9/27/2024','8:00 PM','6348834','Henry-Cho-9-27-2024'],['Preacher Lawson','Crest Theatre - Sacramento','Sacramento, CA','Saturday','9/28/2024','8:00 PM','6242336','Preacher-Lawson-9-28-2024'],['Benise','Crest Theatre - Sacramento','Sacramento, CA','Friday','10/4/2024','7:30 PM','6182209','Benise-10-4-2024'],['A.J. Croce: Croce Plays Croce','Crest Theatre - Sacramento','Sacramento, CA','Tuesday','10/22/2024','8:00 PM','6217336','A-J--Croce--Croce-Plays-Croce-10-22-2024'],['PJ Morton','Crest Theatre - Sacramento','Sacramento, CA','Thursday','10/24/2024','8:00 PM','6400635','PJ-Morton-10-24-2024'],['Black Jacket Symphony: Elton John's Madman Across the Water','Crest Theatre - Sacramento','Sacramento, CA','Monday','10/28/2024','8:00 PM','6286383','Black-Jacket-Symphony--Elton-John-s-Madman-Across-the-Water-10-28-2024'],['The Fab Four - The Ultimate Tribute','Crest Theatre - Sacramento','Sacramento, CA','Friday','11/1/2024','7:30 PM','6385325','The-Fab-Four---The-Ultimate-Tribute-11-1-2024'],['Marc Maron','Crest Theatre - Sacramento','Sacramento, CA','Friday','11/8/2024','8:00 PM','6346544','Marc-Maron-11-8-2024'],['Josh Wolf','Crest Theatre - Sacramento','Sacramento, CA','Friday','11/15/2024','8:00 PM','6134425','Josh-Wolf-11-15-2024'],['The Oak Ridge Boys','Crest Theatre - Sacramento','Sacramento, CA','Tuesday','7/15/2070','TBD','4416314','The-Oak-Ridge-Boys-7-15-2070'],['Robert Cray','Crest Theatre - Sacramento','Sacramento, CA','Monday','8/4/2070','TBD','4326814','Robert-Cray-8-4-2070'],['LP - Laura Pergolizzi','Crest Theatre - Sacramento','Sacramento, CA','Friday','8/29/2070','TBD','4446705','LP---Laura-Pergolizzi-8-29-2070'],['Sons of Champlin','Crest Theatre - Sacramento','Sacramento, CA','Thursday','9/4/2070','7:30 PM','4349824','Sons-of-Champlin-9-4-2070'],['Gregory Porter','Crest Theatre - Sacramento','Sacramento, CA','Saturday','9/20/2070','7:30 PM','4446702','Gregory-Porter-9-20-2070'],['CeCe Winans','Crest Theatre - Sacramento','Sacramento, CA','Wednesday','10/8/2070','7:30 PM','4446700','CeCe-Winans-10-8-2070'],['The Office! A Musical Parody','Crest Theatre - Sacramento','Sacramento, CA','Tuesday','1/13/2071','8:00 PM','4323664','The-Office--A-Musical-Parody-1-13-2071'],['Christopher Cross','Crest Theatre - Sacramento','Sacramento, CA','Monday','3/30/2071','7:30 PM','4446712','Christopher-Cross-3-30-2071']],'Crest Theatre Sacramento','http://www.ticketnetwork.com/ticket/Crest-Theatre-Sacramento-events.aspx');